import styled from "styled-components";
import Bg from "@/components/canvas/Bg";
import Panel from "./components/Panel";

const LoginStyle = styled.div`
  width: 100%;
  height: 100%;
  position: relative;
`;

const Login = () => {
  return (
    <LoginStyle>
      {/* canvas绘制背景 */}
      <Bg>
        {/* 使用插槽传递 */}
        <Panel slot="panel"></Panel>
      </Bg>
    </LoginStyle>
  );
};

export default Login;
